package com.javasm.domin.entity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author whl
 * @since 2022-01-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CrmGift implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 赠品id
     */
    @TableId(value = "gift_Id", type = IdType.AUTO)
    private Integer giftId;

    /**
     * 赠品名称 
     */
    @TableField("gift_Name")
    private String giftName;

    /**
     * 分类id
     */
    @TableField("goodsType_Id")
    private Integer goodstypeId;

    /**
     * 赠品最低库存量
     */
    @TableField("gift_MinInventory")
    private Integer giftMininventory;

    /**
     * 赠品单价
     */
    private Double giftPrice;

    /**
     * 成本价
     */
    private Float giftCost;

    /**
     * 采购员
     */
    private String createDepartment;

    /**
     * 颜色
     */
    private String giftColor;

    /**
     * 品牌Id
     */
    @TableField("brand_Id")
    private Integer brandId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
